home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / doom / hxtutor.zip / HXTUTO02.ACS < prev    next >
Text File  |  1996-07-09  |  465b  |  20 lines

  1. #include "common.acs"
  2.  
  3. script 2 (void)
  4. {
  5.     int ToGo;
  6.     ToGo = 2 - FivePortals;
  7.     ambientsound("PuzzleSuccess", 127);
  8.     print(s: "ONE FORTH OF THE PUZZLE HAS BEEN SOLVED");
  9.     delay(32);
  10.     print(s: "FIVE PORTALS IS ", d: FivePortals + 1);
  11.     delay(32);
  12.     if(FivePortals < 2)
  13.     {
  14.         print(s:"YOU STILL HAVE " , d: ToGo, s:" SWITCHES TO GO");
  15.     }
  16.     FivePortals++;
  17.     ACS_Execute(160, 1, 0, 0, 0);
  18. }
  19.                        
  20.